import api from '../../config/settings'
Page({
    data: {
        dataList: []
    },
    onLoad() {
        const that = this
        getApp().loadPageByGetRequest(api.statistics, function(res){
            that.setData({
                dataList: res.data.result
            })})
    }
})